home *** CD-ROM | disk | FTP | other *** search
- Path: news.nde.state.ne.us!usenet
- From: John Peterson <jpeterso@genie.esu10.k12.ne.us>
- Newsgroups: comp.lang.c
- Subject: Windows programming
- Date: Fri, 09 Feb 1996 16:41:39 -0600
- Organization: Nebraska Dept. of Education
- Message-ID: <311BCDA3.7BFE@www.ord.esu10.k12.ne.us>
- NNTP-Posting-Host: 162.127.116.253
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win16; I)
-
- I have Borland c++ 3.1 for windows, and I am trying to learn how to
- program windows using the cryptic help file that comes with the compiler.
- I figured out quite a bit, but I'm stuck on dialog box resources.
- Borland's format for the wndproc procedure is wndproc(HWND, UINT, WPARAM,
- LPARAM). Whenever I call MakeProcInst(dlgproc, hinst) to get the
- function address for the dialog box call-back procedure, I get this
- error:
- cannot convert MakeProcInst(int(pascal far*)(unsigned int, unsigned int,
- unsigned int, long), unsigned int) to MakeProcInst(int(pascal far*)(),
- unsigned int)
- What kind of variable is it looking for? Should I be able to use the
- procedure name?
- Any help would be greatly appreciated.
- Thanks.
-
- Bjorn
-